package com.java.order.orderweb.service;


import com.java.base.pojo.EasyUIResult;
import com.java.order.orderweb.bean.CQZGResult;
import com.java.order.orderweb.pojo.Order;
import com.java.order.orderweb.pojo.ResultMsg;
import com.java.service.BaseService;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author TriggerWu
 * @since 2018-09-13
 */
public interface OrderService extends BaseService<Order> {
    //创建订单
    CQZGResult createOrder(String json);
    //查询订单
    Order queryOrderById(String orderId);

    //分页查询信息
    EasyUIResult queryListByOrderId(String buyerNick, Integer page, Integer rows);

    //修改订单支付状态
    ResultMsg changeOrderStatus(String json) throws IOException;
}
